import { useEffect, useState } from "react"
import HomePage_PanoramicMonitoringPage_LayerComponent from "./components/layer"
import HomePage_PanoramicMonitoringPage_MapComponent from "./components/map"

// 主页-全景监控页面
const HomePage_PanoramicMonitoringPage: React.FC = () => {
  
    return (
        <>
            {
                 JSON.parse(sessionStorage.homePage_freewayList).length && (<div className="homePagePanoramicMonitoringPage">
                    <HomePage_PanoramicMonitoringPage_MapComponent />
                    <HomePage_PanoramicMonitoringPage_LayerComponent/>
                </div>)
            }
        </>
    )
}

export default HomePage_PanoramicMonitoringPage